projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13b178e
)
arm, davinci: Fix build warnings for cam_enc_4xx
author
Christian Riesch
<
[email protected]
>
Wed, 14 Dec 2011 08:54:36 +0000
(09:54 +0100)
committer
Albert ARIBAUD
<
[email protected]
>
Sat, 24 Dec 2011 09:23:30 +0000
(10:23 +0100)
This patch fixes a build warning for the cam_enc_4xx board introduced by
commit
d6ec0c0dfc70447cf615ae80a952da81f73f16b4
:
spl.c:35:13: warning: 'gdata' defined but not used
spl.c:36:13: warning: 'bdata' defined but not used
Signed-off-by: Christian Riesch <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
arch/arm/cpu/arm926ejs/davinci/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/davinci/spl.c
b/arch/arm/cpu/arm926ejs/davinci/spl.c
index 20f798e0df1a5b7d3b02d2d6aed1272a2e7bf64d..f475f9ba75fa72c3988e44b88f8bfc73163e7c33 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/davinci/spl.c
+++ b/
arch/arm/cpu/arm926ejs/davinci/spl.c
@@
-29,13
+29,14
@@
#include <malloc.h>
#include <spi_flash.h>
-DECLARE_GLOBAL_DATA_PTR;
+#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
+DECLARE_GLOBAL_DATA_PTR;
/* Define global data structure pointer to it*/
static gd_t gdata __attribute__ ((section(".data")));
static bd_t bdata __attribute__ ((section(".data")));
-#
ifndef CONFIG_SPL_LIBCOMMON_SUPPORT
+#
else
void puts(const char *str)
{